<template>
  <div>
    <div>
<!--      <total @number="number"/>-->
      <total/>
    </div>
    <div>
      <Mains class="mains"/>
    </div>

  </div>
</template>

<script>
  import Total from "../component/Total";
  import Mains from "../component/Main";

  export default {
    name: "dashboard",
    components: {
      Total,
      Mains
    },
    data() {
      return {}
    },
    methods: {
      // number(number) {
      //   // console.log(number);
      //   if (number === 1) {
      //     this.$router.replace('/index/dashboard/examination')
      //   } else if (number === 2) {
      //     this.$router.replace('/index/dashboard/papers')
      //   }
      // }
    },
    created() {
      // this.number(1)
    }
  }
</script>

<style scoped>


</style>
